import { Group } from '@/components/pro-panel/index.typing';

const group: Group = {
  title: '效果设置',
  key: 'effect',
  collapsed: false,
  columns: [
    {
      label: '样式',
      prop: 'imageUrl',
      type: 'select',
      options: [],
    },
    {
      type: 'input-number',
      prop: 'height',
      label: '高度',
      formProps: {
        controls: false,
      },
    },
    {
      label: '透明度',
      prop: 'alpha',
      type: 'progress-input',
      formProps: { min: 0, max: 1, step: 0.01 },
    },
    {
      label: '滚动速度',
      prop: 'speed',
      type: 'progress-input',
      formProps: { min: 0, max: 1, step: 0.01 },
    },
    {
      label: '颜色叠加',
      prop: 'blendColor',
      type: 'checkbox',
      options: [{ label: '颜色叠加', value: true }],
      span: 12,
    },
    {
      label: '  ',
      prop: 'blendColor',
      type: 'color-picker',
      span: 12,
    },
    {
      label: '',
      prop: '垂直发光',
      type: 'checkbox',
      options: [{ label: '垂直发光', value: 1 }],
    },
    {
      label: '',
      prop: '亮度叠加',
      type: 'checkbox',
      options: [{ label: '亮度叠加', value: 1 }],
    },
  ],
};

export default group;
